<?php
/**
 * Created by PhpStorm.
 * User: daojia
 * Date: 2020/5/8
 * Time: 12:53
 */
namespace app\common\enum\pay\order;
use app\common\enum\EnumBasics;
class PayStatus extends EnumBasics
{
// 待支付
    const PENDING = 10;

    // 支付成功
    const SUCCESS = 20;

    /**
     * 获取订单类型值
     * @return array
     */
    public static function data()
    {
        return [
            self::PENDING => [
                'name' => '未支付',
                'value' => self::PENDING,
            ],
            self::SUCCESS => [
                'name' => '已支付',
                'value' => self::SUCCESS,
            ],
        ];
    }
}